
let Common = system.getScript("/ti/driverlib/Common.js");
const StackSizeOptions = {
    "MSPM0G1X0X_G3X0X": {
        "MSPM0G1105":512,
        "MSPM0G1106":512,
        "MSPM0G1107":512,
        "MSPM0G1505":512,
        "MSPM0G1506":512,
        "MSPM0G1507":512,
        "MSPM0G3105":512,
        "MSPM0G3106":512,
        "MSPM0G3107":512,
        "MSPM0G3505":512,
        "MSPM0G3506":512,
        "MSPM0G3507":512,
    },
    "MSPM0L11XX_L13XX": {
        "MSPM0L1105": 256,
        "MSPM0L1106": 256,
        "MSPM0L1303": 256,
        "MSPM0L1304": 256,
        "MSPM0L1305": 256,
        "MSPM0L1306": 256,
        "MSPM0L1343": 256,
        "MSPM0L1344": 256,
        "MSPM0L1345": 256,
        "MSPM0L1346": 256,
    },
    "MSPM0L122X_L222X": {
        "MSPM0L1226": 256,
        "MSPM0L1227": 256,
        "MSPM0L1228": 256,
        "MSPM0L2226": 256,
        "MSPM0L2227": 256,
        "MSPM0L2228": 256,
    },
    "MSPM0C110X": {
        "MSPM0C1103": 64,
        "MSPM0C1104": 64,
        "MSPS003F3": 64,
        "MSPS003F4": 64,
    },
    "MSPM0GX51X": {
        "MSPM0G3519": 256,
        "MSPM0G3518": 256,
        "MSPM0G1519": 256,
        "MSPM0G1518": 256,
    },
    "MSPM0L111X": {
        "MSPM0L1116": 256,
        "MSPM0L1117": 256,
    },
    "MSPM0H321X": {
        "MSPM0H3215": 256,
        "MSPM0H3216": 256,
    },
    "MSPM0C1105_C1106": {
        "MSPM0C1105": 256,
        "MSPM0C1106": 256,
    }
};
const FLASHOriginOptions = {
    "MSPM0G1X0X_G3X0X": {
        "MSPM0G1105":"0x00000000",
        "MSPM0G1106":"0x00000000",
        "MSPM0G1107":"0x00000000",
        "MSPM0G1505":"0x00000000",
        "MSPM0G1506":"0x00000000",
        "MSPM0G1507":"0x00000000",
        "MSPM0G3105":"0x00000000",
        "MSPM0G3106":"0x00000000",
        "MSPM0G3107":"0x00000000",
        "MSPM0G3505":"0x00000000",
        "MSPM0G3506":"0x00000000",
        "MSPM0G3507":"0x00000000",
    },
    "MSPM0L11XX_L13XX": {
        "MSPM0L1105": "0x00000000",
        "MSPM0L1106": "0x00000000",
        "MSPM0L1303": "0x00000000",
        "MSPM0L1304": "0x00000000",
        "MSPM0L1305": "0x00000000",
        "MSPM0L1306": "0x00000000",
        "MSPM0L1343": "0x00000000",
        "MSPM0L1344": "0x00000000",
        "MSPM0L1345": "0x00000000",
        "MSPM0L1346": "0x00000000",
    },
    "MSPM0L122X_L222X": {
        "MSPM0L1226": "0x00000000",
        "MSPM0L1227": "0x00000000",
        "MSPM0L1228": "0x00000000",
        "MSPM0L2226": "0x00000000",
        "MSPM0L2227": "0x00000000",
        "MSPM0L2228": "0x00000000",
    },
    "MSPM0C110X": {
        "MSPM0C1103"    :"0x00000000",
        "MSPM0C1104"    :"0x00000000",
        "MSPS003F3"     :"0x00000000",
        "MSPS003F4"     :"0x00000000",
    },
    "MSPM0GX51X": {
        "MSPM0G3519": "0x00000000",
        "MSPM0G3518": "0x00000000",
        "MSPM0G1519": "0x00000000",
        "MSPM0G1518": "0x00000000",
    },
    "MSPM0L111X": {
        "MSPM0L1116": "0x00000000",
        "MSPM0L1117": "0x00000000",
    },
    "MSPM0H321X": {
        "MSPM0H3215": "0x00000000",
        "MSPM0H3216": "0x00000000",
    },
    "MSPM0C1105_C1106": {
        "MSPM0C1105": "0x00000000",
        "MSPM0C1106": "0x00000000",
    },
}
const FLASHLengthOptions = {
    "MSPM0G1X0X_G3X0X": {
        "MSPM0G1105":"0x00008000",
        "MSPM0G1106":"0x00010000",
        "MSPM0G1107":"0x00020000",
        "MSPM0G1505":"0x00008000",
        "MSPM0G1506":"0x00010000",
        "MSPM0G1507":"0x00020000",
        "MSPM0G3105":"0x00008000",
        "MSPM0G3106":"0x00010000",
        "MSPM0G3107":"0x00020000",
        "MSPM0G3505":"0x00008000",
        "MSPM0G3506":"0x00010000",
        "MSPM0G3507":"0x00020000",
    },
    "MSPM0L11XX_L13XX": {
        "MSPM0L1105": "0x00007FF8",
        "MSPM0L1106": "0x0000FFF8",
        "MSPM0L1303": "0x00001FF8",
        "MSPM0L1304": "0x00003FF8",
        "MSPM0L1305": "0x00007FF8",
        "MSPM0L1306": "0x0000FFF8",
        "MSPM0L1343": "0x00001FF8",
        "MSPM0L1344": "0x00003FF8",
        "MSPM0L1345": "0x00007FF8",
        "MSPM0L1346": "0x0000FFF8",
    },
    "MSPM0L122X_L222X": {
        "MSPM0L1226": "0x00010000",
        "MSPM0L1227": "0x00020000",
        "MSPM0L1228": "0x00040000",
        "MSPM0L2226": "0x00010000",
        "MSPM0L2227": "0x00020000",
        "MSPM0L2228": "0x00040000",
    },
    "MSPM0C110X": {
        "MSPM0C1103"    :"0x00002000",
        "MSPM0C1104"    :"0x00004000",
        "MSPS003F3"     :"0x00002000",
        "MSPS003F4"     :"0x00004000",
    },
    "MSPM0GX51X": {
        "MSPM0G3519": "0x00080000",
        "MSPM0G3518": "0x00040000",
        "MSPM0G1519": "0x00080000",
        "MSPM0G1518": "0x00040000",
    },
    "MSPM0L111X": {
        "MSPM0L1116": "0x00010000",
        "MSPM0L1117": "0x00020000",
    },
    "MSPM0H321X": {
        "MSPM0H3215": "0x00008000",
        "MSPM0H3216": "0x00010000",
    },
    "MSPM0C1105_C1106": {
        "MSPM0C1105": "0x00008000",
        "MSPM0C1106": "0x00010000",
    },
};
const SRAMOriginOptions = {
    "MSPM0G1X0X_G3X0X": {
        "MSPM0G1105":"0x20200000",
        "MSPM0G1106":"0x20200000",
        "MSPM0G1107":"0x20200000",
        "MSPM0G1505":"0x20200000",
        "MSPM0G1506":"0x20200000",
        "MSPM0G1507":"0x20200000",
        "MSPM0G3105":"0x20200000",
        "MSPM0G3106":"0x20200000",
        "MSPM0G3107":"0x20200000",
        "MSPM0G3505":"0x20200000",
        "MSPM0G3506":"0x20200000",
        "MSPM0G3507":"0x20200000",
    },
    "MSPM0L11XX_L13XX": {
        "MSPM0L1105": "0x20000000",
        "MSPM0L1106": "0x20000000",
        "MSPM0L1303": "0x20000000",
        "MSPM0L1304": "0x20000000",
        "MSPM0L1305": "0x20000000",
        "MSPM0L1306": "0x20000000",
        "MSPM0L1343": "0x20000000",
        "MSPM0L1344": "0x20000000",
        "MSPM0L1345": "0x20000000",
        "MSPM0L1346": "0x20000000",
    },
    "MSPM0L122X_L222X": {
        "MSPM0L1226": "0x20200000",
        "MSPM0L1227": "0x20200000",
        "MSPM0L1228": "0x20200000",
        "MSPM0L2226": "0x20200000",
        "MSPM0L2227": "0x20200000",
        "MSPM0L2228": "0x20200000",
    },
    "MSPM0C110X": {
        "MSPM0C1103"    :"0x20000000",
        "MSPM0C1104"    :"0x20000000",
        "MSPS003F3"     :"0x20000000",
        "MSPS003F4"     :"0x20000000",
    },
    "MSPM0GX51X": {
        "MSPM0G3519": "0x20200000",
        "MSPM0G3518": "0x20200000",
        "MSPM0G1519": "0x20200000",
        "MSPM0G1518": "0x20200000",
    },
    "MSPM0L111X": {
        "MSPM0L1116": "0x20000000",
        "MSPM0L1117": "0x20000000",
    },
    "MSPM0H321X": {
        "MSPM0H3215": "0x20000000",
        "MSPM0H3216": "0x20000000",
    },
    "MSPM0C1105_C1106": {
        "MSPM0C1105": "0x20000000",
        "MSPM0C1106": "0x20000000",
    },
};
const SRAMBank1OriginOptions = {
    "MSPM0G1X0X_G3X0X": {
        "MSPM0G1105": undefined,
        "MSPM0G1106": undefined,
        "MSPM0G1107": undefined,
        "MSPM0G1505": undefined,
        "MSPM0G1506": undefined,
        "MSPM0G1507": undefined,
        "MSPM0G3105": undefined,
        "MSPM0G3106": undefined,
        "MSPM0G3107": undefined,
        "MSPM0G3505": undefined,
        "MSPM0G3506": undefined,
        "MSPM0G3507": undefined,
    },
    "MSPM0L11XX_L13XX": {
        "MSPM0L1105": undefined,
        "MSPM0L1106": undefined,
        "MSPM0L1303": undefined,
        "MSPM0L1304": undefined,
        "MSPM0L1305": undefined,
        "MSPM0L1306": undefined,
        "MSPM0L1343": undefined,
        "MSPM0L1344": undefined,
        "MSPM0L1345": undefined,
        "MSPM0L1346": undefined,
    },
    "MSPM0L122X_L222X": {
        "MSPM0L1226": undefined,
        "MSPM0L1227": undefined,
        "MSPM0L1228": undefined,
        "MSPM0L2226": undefined,
        "MSPM0L2227": undefined,
        "MSPM0L2228": undefined,
    },
    "MSPM0C110X": {
        "MSPM0C1103"    : undefined,
        "MSPM0C1104"    : undefined,
        "MSPS003F3"     : undefined,
        "MSPS003F4"     : undefined,
    },
    "MSPM0GX51X": {
        "MSPM0G3519": "0x20210000",
        "MSPM0G3518": "0x20210000",
        "MSPM0G1519": "0x20210000",
        "MSPM0G1518": "0x20210000",
    },
    "MSPM0L111X": {
        "MSPM0L1116": undefined,
        "MSPM0L1117": undefined,
    },
    "MSPM0H321X": {
        "MSPM0H3215": undefined,
        "MSPM0H3216": undefined,
    },
};
const SRAMLengthOptions = {
    "MSPM0G1X0X_G3X0X": {
        "MSPM0G1105": "0x00004000",
        "MSPM0G1106": "0x00008000",
        "MSPM0G1107": "0x00008000",
        "MSPM0G1505": "0x00004000",
        "MSPM0G1506": "0x00008000",
        "MSPM0G1507": "0x00008000",
        "MSPM0G3105": "0x00004000",
        "MSPM0G3106": "0x00008000",
        "MSPM0G3107": "0x00008000",
        "MSPM0G3505": "0x00004000",
        "MSPM0G3506": "0x00008000",
        "MSPM0G3507": "0x00008000",
    },
    "MSPM0L11XX_L13XX": {
        "MSPM0L1105": "0x00001000",
        "MSPM0L1106": "0x00001000",
        "MSPM0L1303": "0x00000800",
        "MSPM0L1304": "0x00000800",
        "MSPM0L1305": "0x00001000",
        "MSPM0L1306": "0x00001000",
        "MSPM0L1343": "0x00000800",
        "MSPM0L1344": "0x00000800",
        "MSPM0L1345": "0x00001000",
        "MSPM0L1346": "0x00001000",
    },
    "MSPM0L122X_L222X": {
        "MSPM0L1226": "0x00008000",
        "MSPM0L1227": "0x00008000",
        "MSPM0L1228": "0x00008000",
        "MSPM0L2226": "0x00008000",
        "MSPM0L2227": "0x00008000",
        "MSPM0L2228": "0x00008000",
    },
    "MSPM0C110X": {
        "MSPM0C1103"    : "0x00000400",
        "MSPM0C1104"    : "0x00000400",
        "MSPS003F3"     : "0x00000400",
        "MSPS003F4"     : "0x00000400",
    },
    "MSPM0GX51X": {
        "MSPM0G3519": "0x00010000",
        "MSPM0G3518": "0x00010000",
        "MSPM0G1519": "0x00010000",
        "MSPM0G1518": "0x00010000",
    },
    "MSPM0L111X": {
        "MSPM0L1116": "0x00004000",
        "MSPM0L1117": "0x00004000",
    },
    "MSPM0H321X": {
        "MSPM0H3215": "0x00002000",
        "MSPM0H3216": "0x00002000",
    },
    "MSPM0C1105_C1106": {
        "MSPM0C1105": "0x00002000",
        "MSPM0C1106": "0x00002000",
    },
};
const SRAMBank1LengthOptions = {
    "MSPM0G1X0X_G3X0X": {
        "MSPM0G1105": undefined,
        "MSPM0G1106": undefined,
        "MSPM0G1107": undefined,
        "MSPM0G1505": undefined,
        "MSPM0G1506": undefined,
        "MSPM0G1507": undefined,
        "MSPM0G3105": undefined,
        "MSPM0G3106": undefined,
        "MSPM0G3107": undefined,
        "MSPM0G3505": undefined,
        "MSPM0G3506": undefined,
        "MSPM0G3507": undefined,
    },
    "MSPM0L11XX_L13XX": {
        "MSPM0L1105": undefined,
        "MSPM0L1106": undefined,
        "MSPM0L1303": undefined,
        "MSPM0L1304": undefined,
        "MSPM0L1305": undefined,
        "MSPM0L1306": undefined,
        "MSPM0L1343": undefined,
        "MSPM0L1344": undefined,
        "MSPM0L1345": undefined,
        "MSPM0L1346": undefined,
    },
    "MSPM0L122X_L222X": {
        "MSPM0L1226": undefined,
        "MSPM0L1227": undefined,
        "MSPM0L1228": undefined,
        "MSPM0L2226": undefined,
        "MSPM0L2227": undefined,
        "MSPM0L2228": undefined,
    },
    "MSPM0C110X": {
        "MSPM0C1103"    : undefined,
        "MSPM0C1104"    : undefined,
        "MSPS003F3"     : undefined,
        "MSPS003F4"     : undefined,
    },
    "MSPM0GX51X": {
        "MSPM0G3519": "0x00010000",
        "MSPM0G3518": "0x00010000",
        "MSPM0G1519": "0x00010000",
        "MSPM0G1518": "0x00010000",
    },
    "MSPM0L111X": {
        "MSPM0L1116": undefined,
        "MSPM0L1117": undefined,
    },
    "MSPM0H321X": {
        "MSPM0H3215": undefined,
        "MSPM0H3216": undefined,
    },
    "MSPM0C1105_C1106": {
        "MSPM0C1105": undefined,
        "MSPM0C1106": undefined,
    },
};
const BCROriginOptions = {
    "MSPM0G1X0X_G3X0X": {
        "MSPM0G1105":"0x41C00000",
        "MSPM0G1106":"0x41C00000",
        "MSPM0G1107":"0x41C00000",
        "MSPM0G1505":"0x41C00000",
        "MSPM0G1506":"0x41C00000",
        "MSPM0G1507":"0x41C00000",
        "MSPM0G3105":"0x41C00000",
        "MSPM0G3106":"0x41C00000",
        "MSPM0G3107":"0x41C00000",
        "MSPM0G3505":"0x41C00000",
        "MSPM0G3506":"0x41C00000",
        "MSPM0G3507":"0x41C00000",
    },
    "MSPM0L11XX_L13XX": {
        "MSPM0L1105": "0x41C00000",
        "MSPM0L1106": "0x41C00000",
        "MSPM0L1303": "0x41C00000",
        "MSPM0L1304": "0x41C00000",
        "MSPM0L1305": "0x41C00000",
        "MSPM0L1306": "0x41C00000",
        "MSPM0L1343": "0x41C00000",
        "MSPM0L1344": "0x41C00000",
        "MSPM0L1345": "0x41C00000",
        "MSPM0L1346": "0x41C00000",
    },
    "MSPM0L122X_L222X": {
        "MSPM0L1226": "0x41C00000",
        "MSPM0L1227": "0x41C00000",
        "MSPM0L1228": "0x41C00000",
        "MSPM0L2226": "0x41C00000",
        "MSPM0L2227": "0x41C00000",
        "MSPM0L2228": "0x41C00000",
    },
    "MSPM0C110X": {
        "MSPM0C1103"    :"0x41C00000",
        "MSPM0C1104"    :"0x41C00000",
        "MSPS003F3"     :"0x41C00000",
        "MSPS003F4"     :"0x41C00000",
    },
    "MSPM0GX51X": {
        "MSPM0G3519": "0x41C00000",
        "MSPM0G3518": "0x41C00000",
        "MSPM0G1519": "0x41C00000",
        "MSPM0G1518": "0x41C00000",
    },
    "MSPM0L111X": {
        "MSPM0L1116": "0x41C00000",
        "MSPM0L1117": "0x41C00000",
    },
    "MSPM0H321X": {
        "MSPM0H3215": "0x41C00000",
        "MSPM0H3216": "0x41C00000",
    },
    "MSPM0C1105_C1106": {
        "MSPM0C1105": "0x41C00000",
        "MSPM0C1106": "0x41C00000",
    },
};
const BCRLengthOptions = {
    "MSPM0G1X0X_G3X0X": {
        "MSPM0G1105": "0x000000FF",
        "MSPM0G1106": "0x000000FF",
        "MSPM0G1107": "0x000000FF",
        "MSPM0G1505": "0x000000FF",
        "MSPM0G1506": "0x000000FF",
        "MSPM0G1507": "0x000000FF",
        "MSPM0G3105": "0x000000FF",
        "MSPM0G3106": "0x000000FF",
        "MSPM0G3107": "0x000000FF",
        "MSPM0G3505": "0x000000FF",
        "MSPM0G3506": "0x000000FF",
        "MSPM0G3507": "0x000000FF",
    },
    "MSPM0L11XX_L13XX": {
        "MSPM0L1105": "0x000000FF",
        "MSPM0L1106": "0x000000FF",
        "MSPM0L1303": "0x000000FF",
        "MSPM0L1304": "0x000000FF",
        "MSPM0L1305": "0x000000FF",
        "MSPM0L1306": "0x000000FF",
        "MSPM0L1343": "0x000000FF",
        "MSPM0L1344": "0x000000FF",
        "MSPM0L1345": "0x000000FF",
        "MSPM0L1346": "0x000000FF",
    },
    "MSPM0L122X_L222X": {
        "MSPM0L1226": "0x000000FF",
        "MSPM0L1227": "0x000000FF",
        "MSPM0L1228": "0x000000FF",
        "MSPM0L2226": "0x000000FF",
        "MSPM0L2227": "0x000000FF",
        "MSPM0L2228": "0x000000FF",
    },
    "MSPM0C110X": {
        "MSPM0C1103"    : "0x000000FF",
        "MSPM0C1104"    : "0x000000FF",
        "MSPS003F3"     : "0x000000FF",
        "MSPS003F4"     : "0x000000FF",
    },
    "MSPM0GX51X": {
        "MSPM0G3519": "0x000000FF",
        "MSPM0G3518": "0x000000FF",
        "MSPM0G1519": "0x000000FF",
        "MSPM0G1518": "0x000000FF",
    },
    "MSPM0L111X": {
        "MSPM0L1116": "0x000000FF",
        "MSPM0L1117": "0x000000FF",
    },
    "MSPM0H321X": {
        "MSPM0H3215": "0x000000FF",
        "MSPM0H3216": "0x000000FF",
    },
    "MSPM0C1105_C1106": {
        "MSPM0C1105": "0x000000FF",
        "MSPM0C1106": "0x000000FF",
    },
    "MSPM0C1105_C1106": {
        "MSPM0C1105": "0x000000FF",
        "MSPM0C1106": "0x000000FF",
    },
};
const BSLOriginOptions = {
    "MSPM0G1X0X_G3X0X": {
        "MSPM0G1105":"0x41C00100",
        "MSPM0G1106":"0x41C00100",
        "MSPM0G1107":"0x41C00100",
        "MSPM0G1505":"0x41C00100",
        "MSPM0G1506":"0x41C00100",
        "MSPM0G1507":"0x41C00100",
        "MSPM0G3105":"0x41C00100",
        "MSPM0G3106":"0x41C00100",
        "MSPM0G3107":"0x41C00100",
        "MSPM0G3505":"0x41C00100",
        "MSPM0G3506":"0x41C00100",
        "MSPM0G3507":"0x41C00100",
    },
    "MSPM0L11XX_L13XX": {
        "MSPM0L1105": "0x41C00100",
        "MSPM0L1106": "0x41C00100",
        "MSPM0L1303": "0x41C00100",
        "MSPM0L1304": "0x41C00100",
        "MSPM0L1305": "0x41C00100",
        "MSPM0L1306": "0x41C00100",
        "MSPM0L1343": "0x41C00100",
        "MSPM0L1344": "0x41C00100",
        "MSPM0L1345": "0x41C00100",
        "MSPM0L1346": "0x41C00100",
    },
    "MSPM0L122X_L222X": {
        "MSPM0L1226": "0x41C00100",
        "MSPM0L1227": "0x41C00100",
        "MSPM0L1228": "0x41C00100",
        "MSPM0L2226": "0x41C00100",
        "MSPM0L2227": "0x41C00100",
        "MSPM0L2228": "0x41C00100",
    },
    "MSPM0C110X": {
        "MSPM0C1103"    :undefined,
        "MSPM0C1104"    :undefined,
        "MSPS003F3"     :undefined,
        "MSPS003F4"     :undefined,
    },
    "MSPM0GX51X": {
        "MSPM0G3519": "0x41C00100",
        "MSPM0G3518": "0x41C00100",
        "MSPM0G1519": "0x41C00100",
        "MSPM0G1518": "0x41C00100",
    },
    "MSPM0L111X": {
        "MSPM0L1116": "0x41C00100",
        "MSPM0L1117": "0x41C00100",
    },
    "MSPM0H321X": {
        "MSPM0H3215": "0x41C00100",
        "MSPM0H3216": "0x41C00100",
    },
    "MSPM0C1105_C1106": {
        "MSPM0C1105": "0x41C00100",
        "MSPM0C1106": "0x41C00100",
    },
};
const BSLLengthOptions = {
    "MSPM0G1X0X_G3X0X": {
        "MSPM0G1105":"0x00000080",
        "MSPM0G1106":"0x00000080",
        "MSPM0G1107":"0x00000080",
        "MSPM0G1505":"0x00000080",
        "MSPM0G1506":"0x00000080",
        "MSPM0G1507":"0x00000080",
        "MSPM0G3105":"0x00000080",
        "MSPM0G3106":"0x00000080",
        "MSPM0G3107":"0x00000080",
        "MSPM0G3505":"0x00000080",
        "MSPM0G3506":"0x00000080",
        "MSPM0G3507":"0x00000080",
    },
    "MSPM0L11XX_L13XX": {
        "MSPM0L1105": "0x00000080",
        "MSPM0L1106": "0x00000080",
        "MSPM0L1303": "0x00000080",
        "MSPM0L1304": "0x00000080",
        "MSPM0L1305": "0x00000080",
        "MSPM0L1306": "0x00000080",
        "MSPM0L1343": "0x00000080",
        "MSPM0L1344": "0x00000080",
        "MSPM0L1345": "0x00000080",
        "MSPM0L1346": "0x00000080",
    },
    "MSPM0L122X_L222X": {
        "MSPM0L1226": "0x00000080",
        "MSPM0L1227": "0x00000080",
        "MSPM0L1228": "0x00000080",
        "MSPM0L2226": "0x00000080",
        "MSPM0L2227": "0x00000080",
        "MSPM0L2228": "0x00000080",
    },
    "MSPM0C110X": {
        "MSPM0C1103"    :undefined,
        "MSPM0C1104"    :undefined,
        "MSPS003F3"     :undefined,
        "MSPS003F4"     :undefined,
    },
    "MSPM0GX51X": {
        "MSPM0G3519": "0x00000080",
        "MSPM0G3518": "0x00000080",
        "MSPM0G1519": "0x00000080",
        "MSPM0G1518": "0x00000080",
    },
    "MSPM0L111X": {
        "MSPM0L1116": "0x00000080",
        "MSPM0L1117": "0x00000080",
    },
    "MSPM0H321X": {
        "MSPM0H3215": "0x00000080",
        "MSPM0H3216": "0x00000080",
    },
    "MSPM0C1105_C1106": {
        "MSPM0C1105": "0x00000080",
        "MSPM0C1106": "0x00000080",
    },
};
const DATAOriginOptions = {
    "MSPM0G1X0X_G3X0X": {
        "MSPM0G1105":undefined,
        "MSPM0G1106":undefined,
        "MSPM0G1107":undefined,
        "MSPM0G1505":undefined,
        "MSPM0G1506":undefined,
        "MSPM0G1507":undefined,
        "MSPM0G3105":undefined,
        "MSPM0G3106":undefined,
        "MSPM0G3107":undefined,
        "MSPM0G3505":undefined,
        "MSPM0G3506":undefined,
        "MSPM0G3507":undefined,
    },
    "MSPM0L11XX_L13XX": {
        "MSPM0L1105":undefined,
        "MSPM0L1106":undefined,
        "MSPM0L1303":undefined,
        "MSPM0L1304":undefined,
        "MSPM0L1305":undefined,
        "MSPM0L1306":undefined,
        "MSPM0L1343":undefined,
        "MSPM0L1344":undefined,
        "MSPM0L1345":undefined,
        "MSPM0L1346":undefined,
    },
    "MSPM0L122X_L222X": {
        "MSPM0L1226": undefined,
        "MSPM0L1227": undefined,
        "MSPM0L1228": undefined,
        "MSPM0L2226": undefined,
        "MSPM0L2227": undefined,
        "MSPM0L2228": undefined,
    },
    "MSPM0C110X": {
        "MSPM0C1103"    :undefined,
        "MSPM0C1104"    :undefined,
        "MSPS003F3"     :undefined,
        "MSPS003F4"     :undefined,
    },
    "MSPM0GX51X": {
        "MSPM0G3519": "0x41D00000",
        "MSPM0G3518": "0x41D00000",
        "MSPM0G1519": "0x41D00000",
        "MSPM0G1518": "0x41D00000",
    },
    "MSPM0L111X": {
        "MSPM0L1116": undefined,
        "MSPM0L1117": undefined,
    },
    "MSPM0H321X": {
        "MSPM0H3215": undefined,
        "MSPM0H3216": undefined,
    },
    "MSPM0C1105_C1106": {
        "MSPM0C1105": undefined,
        "MSPM0C1106": undefined,
    },
};
const DATALengthOptions = {
    "MSPM0G1X0X_G3X0X": {
        "MSPM0G1105":undefined,
        "MSPM0G1106":undefined,
        "MSPM0G1107":undefined,
        "MSPM0G1505":undefined,
        "MSPM0G1506":undefined,
        "MSPM0G1507":undefined,
        "MSPM0G3105":undefined,
        "MSPM0G3106":undefined,
        "MSPM0G3107":undefined,
        "MSPM0G3505":undefined,
        "MSPM0G3506":undefined,
        "MSPM0G3507":undefined,
    },
    "MSPM0L11XX_L13XX": {
        "MSPM0L1105":undefined,
        "MSPM0L1106":undefined,
        "MSPM0L1303":undefined,
        "MSPM0L1304":undefined,
        "MSPM0L1305":undefined,
        "MSPM0L1306":undefined,
        "MSPM0L1343":undefined,
        "MSPM0L1344":undefined,
        "MSPM0L1345":undefined,
        "MSPM0L1346":undefined,
    },
    "MSPM0L122X_L222X": {
        "MSPM0L1226":undefined,
        "MSPM0L1227":undefined,
        "MSPM0L1228":undefined,
        "MSPM0L2226":undefined,
        "MSPM0L2227":undefined,
        "MSPM0L2228":undefined,
    },
    "MSPM0C110X": {
        "MSPM0C1103"    :undefined,
        "MSPM0C1104"    :undefined,
        "MSPS003F3"     :undefined,
        "MSPS003F4"     :undefined,
    },
    "MSPM0GX51X": {
        "MSPM0G3519": "0x00004000",
        "MSPM0G3518": "0x00004000",
        "MSPM0G1519": "0x00004000",
        "MSPM0G1518": "0x00004000",
    },
    "MSPM0L111X": {
        "MSPM0L1116": undefined,
        "MSPM0L1117": undefined,
    },
    "MSPM0H321X": {
        "MSPM0H3215": undefined,
        "MSPM0H3216": undefined,
    },
    "MSPM0C1105_C1106": {
        "MSPM0C1105": undefined,
        "MSPM0C1106": undefined,
    },
};

let index = Common.getDeviceFamily();

exports = {
    StackSize   : StackSizeOptions[index],
    FLASHOrigin : FLASHOriginOptions[index],
    FLASHLength : FLASHLengthOptions[index],
    SRAMOrigin  : SRAMOriginOptions[index],
    SRAMLength  : SRAMLengthOptions[index],
    SRAMBank1Origin  : SRAMBank1OriginOptions[index],
    SRAMBank1Length  : SRAMBank1LengthOptions[index],
    BCROrigin   : BCROriginOptions[index],
    BCRLength   : BCRLengthOptions[index],
    BSLOrigin   : BSLOriginOptions[index],
    BSLLength   : BSLLengthOptions[index],
    DATAOrigin  : DATAOriginOptions[index],
    DATALength  : DATALengthOptions[index],
}
